<template>
  <div class="container">
    <!-- 顶部组件 -->
    <HospitalTop />
    <!-- 中间路由 -->
    <div class="content">
      <!-- 展示路由组件的区域 -->
      <!-- 路由出口 -->
      <router-view></router-view>
    </div>
    <!-- 尾部组件 -->
    <HospitalBottom />
    <!-- 全局登录组件 -->
    <LoginPopover />
  </div>
</template>

<script>
import HospitalTop from "@/components/HospitalTop";
import HospitalBottom from "@/components/HospitalBottom";
import LoginPopover from "@/components/LoginPopover";
export default {
  components: {
    HospitalTop,
    HospitalBottom,
    LoginPopover,
  },
};
</script>

<style lang="scss" scoped>
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  .content {
    margin-top: 70px;
    width: 1200px;
    min-height: 700px;
  }
}
</style>
